package com.heima.search.feign;

import com.heima.model.behavior.pojo.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("leadnews-behavior")
public interface BehaviorFeign {

    @GetMapping("/api/v1/behavior/findByUserId/{userId}")
    ApBehaviorEntry findByUserId(@PathVariable("userId") Integer userId);


}